<?php
include "counter2.php";

pagestart();
print "<html>\n";
pagehead(_("International Linux Counter Project"));
print "\n<body>\n";
pagetop();
print "\n<h1 align=center><font size=\"+5\">" . _("The Linux Counter") . "</font></h1>\n";
print "<h2 align=center><font size=\"+3\">" . _("Linux Counter Project - I18N")
. "</font></h2>\n"; 
print "<!-- <h5 align=center>" . _("Visit the") . " <a href=\"http://lugww.counter.li.org\">" . _("Linux Users Groups WorldWide") . "</a> " . _("site") . "</h5> -->\n";
print "<h5 align=center><font color=\"red\">The Linux Users Groups WorldWide site is down due to machine failure</font></h5>\n";
print "<hr>\n" .
"<p>\n";
print "<table width=\"100%\">\n" .
"<tr><td rowspan=2 align=center>\n" .
"<img src=\"gifs/Logo.png\" border=0 alt=\"\"><br>\n" .
"<td align=center>\n" .
"<b>\n";

print "<font size=-1>" . _("At ");
print utf8_encode(gmstrftime("%b %d %Y %H:%M:%S",time())) . "\n"; 
print _(" GMT, there are") . "</font><br>\n" .
"<font size=7>";
echo dbcount("persons");
print "<br></font>\n" .
_("users registered");
print "<br>" .
"<font size=7>";
echo dbcount("machines");
print "<br></font>\n" . 
_("machines registered") .
"</b>\n" .
"<br>\n" .
"<a href=\"estimates.php\">" . _("My guess at the number of Linux users") . ":</a>\n" .
"<br>\n" .
"<b>" . _("Twenty-nine million") . "</b>\n";
print "<tr>\n" .
"<td align=center>\n" .
"<img src=\"smallplot.png\" alt=\"\">\n" .
"<td><span id=\"load\"></span>\n" .
"</table>\n" .
"<p align=\"center\">\n";
print "<b>" . _("Latest News:") . "</b> " . "Updated version of machine-update script available! See the news section." .
"</p><p align=\"center\">\n";
print "<table width=\"80%\" align=center border=2 cellpadding=4>\n" .
"<tr>\n" .
"<td align=center width=\"50%\">\n" .
"<a href=\"enter-person.php\"><strong><font size=5>\n" .
_("Get Counted!") .
"\n</font></strong></a>\n";
print "<td align=center width=\"50%\">\n" .
"<a href=\"machine-form.php\"><strong><font size=5>\n" .
_("Count your Machine!") .
"\n</font></strong></a>\n" .
"</table>\n";
print "<p align=\"center\">" . _("View our") . " <a href=\"organization/privacy.php\">" . _("Privacy Policy") . "</a>\n";
print "<br>\n" . _("The Linux Counter") . " <a href=\"organization/charter.php\">" . _("Mission Statement") . "</a>\n" .
"<p>\n<hr>\n<p>\n";
print _("This is the EXPERIMENTAL internationalized version of the Linux Counter website.") .
"<p>" .
_("At the moment, most pages default to English, and lots of things don't work. Your help in testing (and translating!) is appreciated!") .
"<p>" .
_("To subscribe to the Linux Counter Translation Project, send email to translate-request@counter.li.org with the word \"subscribe\" in the BODY of the message.");

print "<hr>\n<table width=\"100%\">\n" .
"<tr>\n<td align=\"left\">\n" .
"<A HREF=\"http://www.anybrowser.org/campaign/\" target=\"_blank\">" .
"<img src=\"gifs/anybrowser.gif\" alt=\"\" style=\"border-width: 0px;\"></A>\n"; ?>
<br>
<a href="http://www.cacert.org/" target="_blank"><img src="gifs/cacert-grey2.png" alt="www.cacert.org" style="border-width: 0px;" /></a>
<br>
<a href="http://jigsaw.w3.org/css-validator/" target="_blank">
<img style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!">
</a>
</td>
<?php print "<td>\n" .
"<p align=\"center\">\n" .
"</p>\n" .
"</td>\n";
print "<td align=\"right\">\n" .
_("Connectivity") . ": <a href=\"http://www.uninett.no\" target=\"_blank\"><img src=\"gifs/uninett-S.png\" alt=\"UNINETT\" style=\"border-width: 0px;\"></a>\n" .
"<br>\n";
print _("Hardware") . ": <a href=\"http://www.compaq.com/\" target=\"_blank\"><img src=\"gifs/compaq.png\" alt=\"Compaq\" style=\"border-width: 0px;\"></a><br>\n" .
"<a href=\"http://www.linpro.no\" target=\"_blank\"><img src=\"gifs/linpro.png\" alt=\"Linpro\" style=\"border-width: 0px;\"></a>\n" .
"</td>\n" .
"</table>\n" .
"<p>\n";
pagebottom("yes");
print "</body>\n" .
"</html>";
?>
